xen/arm: vtimer: Switch the read variable in the emulation from int to bool
authorJulien Grall <julien.grall@arm.com>
Wed, 7 Dec 2016 12:33:42 +0000 (12:33 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 7 Dec 2016 21:44:56 +0000 (13:44 -0800)
commit8d5828e91348f47056f73b42bc415c8e3364f4a2
tree81a26f5cc1224f2bd22aa15dd4591c35ad5cec68
parent748f5329fae944354adb91465ca8088062fa080c
xen/arm: vtimer: Switch the read variable in the emulation from int to bool

The read variable can only take two values: 1 => read, 0 => write. Use
bool instead to make clear the variable can only take 2 values.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vtimer.c